-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixing issue #1072. #1085
Fixing issue #1072. #1085
Conversation
For the comment that @ceciliazaragoza mentioned, it wasn't my change. The code existed before, and we didn't catch that. I would suggest to create a new issue for this. The problem was because she tested empty file. And in |
Since we detected an issue here with the files, @akaiap and I can work on testing all the test-files on the current deployed beta to ensure that there are no other pre-existing bugs that need to be addressed. |
…-files/semantic-error-test-files/empty-network-xlsx-with-network-tab.xlsx. Added a try-catch that makes error modal pop up
…r lint errors
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
suggestedFix: "SIF files accepted by GRNsight must use 'pd' or 'pp' as the text string for the" + | ||
" relationship type in unweighted networks. Please review the SIF input documentation." + | ||
" Additionally, this error may be have been caused by missing data in your file, which caused " + | ||
"the importer to incorrectly interpret a source or target as the relationship." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn’t have to change here to retain consistency, but for building new strings I have found that using the join
array method feels structurally cleaner
Due to the change in #1065, it breaks the import function of SIF files and GraphML files.
I added networkMode for the .sif file to determine "grn" or "protein-protein-physical-interaction." How to determine the network mode is mentioned in #1066. For the graphml files, the grnState.mode will always be "grn".
Pull Request Checklist